// 打印输出封装
export const log = {
  info: (text) => {
    console.log(text);
  },
  error: (text) => {
    console.log(`\x1b[31m${text}\x1b[0m`);
  },
  success: (text) => {
    console.log(`\x1b[32m${text}\x1b[0m`);
  },
  warning: (text) => {
    console.log(`\x1b[33m${text}\x1b[0m`);
  },
  done: (text) => {
    console.log(`\x1b[36m${text}\x1b[0m`);
  },
};
